import interfine from '../../utils/request'

/* 获取头部和内容数据 */
export const reqGetHeader = (id:any) => interfine.get(`/m-revision/page/album/v2/queryAlbumPage/${id}`)

/* 获取节目列表数据 */
export const reqGetListView = (id:any) => interfine.get(`/m-revision/common/album/queryAlbumTrackRecordsByPage?albumId=${id}&page=1&pageSize=10&asc=true&countKeys=play%2Ccomment&v=1692018651710`)

/* 获取作者信息 */
export const reqAnchorInfo = (anchorId:any) => interfine.get(`/m-revision/common/user/queryUserInfo/${anchorId}?userCountKeys=follower`)

/* 获取作业相关作品 */
export const reqAnchorAlbums = (anchorId:any) => interfine.get(`/m-revision/common/anchor/queryAnchorAlbumsByPage?anchorId=${anchorId}&page=1&pageSize=3&asc=true`)

/* 获取用户评论 */
export const reqGetComments = (albumId:any) => interfine.get(`/m-revision/common/album/queryAlbumCommentsByPage?page=1&pageSize=5&albumId=${albumId}&v=1692064693595`)

/* 获取相似剪辑 */
export const reqGetSimilarEditing = (kw:any,page:any) => interfine.get(`/revision/search/seo?kw=${kw}&page=${page}&rows=6&device=iPhone&condition=relation&spellchecker=true&core=album`)